//
//  HelpViewController.m
//  IconMaster
//
//  Created by mac on 2017/8/4.
//  Copyright © 2017年 yangweiwei. All rights reserved.
//

#import "HelpViewController.h"

@interface HelpViewController ()
@property (nonatomic, strong) UIWebView *webView0;
@property (weak, nonatomic) IBOutlet UIView *adView;
@end

@implementation HelpViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setImageViewINNav];
    [self setBarType];
    self.webView0 = [[UIWebView alloc] initWithFrame:CGRectMake(0, 64, KWidth, KHeight - 64)];
    [self.view addSubview:self.webView0];
    NSString* name = NSLocalizedString(@"help.html", @"");
    NSString* path = [[NSBundle mainBundle] pathForResource:name ofType:nil inDirectory:@"help"];
    NSURL* url = [NSURL fileURLWithPath:path];
    NSURLRequest* request = [NSURLRequest requestWithURL:url];
    [self.webView0 loadRequest:request];

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
